package com.probox.common.entity.service.customer;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.probox.common.entity.domain.customer.CustomerTaskInfoRecord;

/**
 * 会员完成任务列Service接口
 *
 * @author usoft
 * @date 2022-09-30
 */
public interface ICustomerTaskInfoRecordService extends IService<CustomerTaskInfoRecord> {


    /**
     * 查询会员完成任务列
     *
     * @param recordId 会员完成任务列ID
     * @return 会员完成任务列
     */
    public CustomerTaskInfoRecord selectCustomerTaskInfoRecordById(Long recordId);


    /**
     * 查询会员完成任务列列表
     *
     * @param customerTaskInfoRecord 会员完成任务列
     * @return 会员完成任务列集合
     */
    public List<CustomerTaskInfoRecord> queryList(CustomerTaskInfoRecord customerTaskInfoRecord);

    /**
     * 新增会员完成任务列
     *
     * @param customerTaskInfoRecord 会员完成任务列
     * @return 结果
     */
    public boolean insertCustomerTaskInfoRecord(CustomerTaskInfoRecord customerTaskInfoRecord);

    /**
     * 修改会员完成任务列
     *
     * @param customerTaskInfoRecord 会员完成任务列
     * @return 结果
     */
    public boolean updateCustomerTaskInfoRecord(CustomerTaskInfoRecord customerTaskInfoRecord);

    /**
     * 批量删除会员完成任务列
     *
     * @param recordIds 需要删除的会员完成任务列ID
     * @return 结果
     */
    public boolean deleteCustomerTaskInfoRecordByIds(Long[] recordIds);


    List<CustomerTaskInfoRecord> queryListA(CustomerTaskInfoRecord customerTaskInfoRecord);

    List<CustomerTaskInfoRecord> queryCustomerTask(String code,Long customerId);

}
